import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 导入Vant组件
import { Button, Uploader, NavBar, Icon, Toast, Dialog } from 'vant';
import 'vant/lib/index.css';

const app = createApp(App)

app.use(createPinia())
app.use(router)
// 全局注册Vant组件
app.use(Button)
app.use(Uploader)
app.use(NavBar)
app.use(Icon)
app.use(Toast)
app.use(Dialog)

app.mount('#app')